SequencingRollupRuleNodeReader.ConditionCombination Property

Respresents the <imsss:rollupRule>/<imsss:rollupConditions>/conditionCombination attribute.

Parent Type: SequencingRollupRuleNodeReader

Namespace: Microsoft.LearningComponents.Manifest

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public SequencingConditionCombination ConditionCombination

{ get; }
Exceptions
Exception type Condition
InvalidPackageException

The parsing mode is ManifestReaderSettings.FixScormRequirementViolations=false and the attribute value is invalid, or there are more than one <imsss:rollupConditions> nodes, or the node is missing.

Remarks

Default value is SequencingConditionCombination.Any, which is applied if the conditionCombination attribute is missing. If the entire <imsss:rollupConditions> node is missing, the value of SequencingConditionCombination.Any is also returned in ManifestReaderSettings.FixScormRequirementViolations=true, and a warning issued to the log. In ManifestReaderSettings.FixScormRequirementViolations=false this issues an error to the log and an exception is thrown.

If the parsing mode is ManifestReaderSettings.FixScormRequirementViolations=true and there is more than one <imsss:rollupConditions> node, a warning is issued to the log and only the first node is parsed.